import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import getters from './getters'
import cache from './modules/cache'
import tagsView from './modules/tagsView'
import optionsCache from './modules/optionsCache'
import progressFill from './modules/progressFill'

Vue.use(Vuex)

const zbStore = new Vuex.Store({
  modules: {
    app,
    cache,
    tagsView,
    optionsCache,
    progressFill,
  },
  getters
})

export default zbStore
